import {createStore, combineReducers, applyMiddleware, compose} from 'redux';
import thunk from 'redux-thunk';

import {reducer as addReducer} from './views/action/_index.js';
import {reducer as ajaxReducer} from './views/ajaxpage/_index.js';


import {reducer as axiosReducer} from './views/axiospage/_index.js';
import {reducer as pullloadReducer} from './views/pullload/_index.js';
import {reducer as web1904Reducer} from './views/web1904/_index.js';



const reducer = combineReducers({
    add:addReducer,
    axData:ajaxReducer,
    axiosData:axiosReducer,
    pullloadData:pullloadReducer,
    web1904Data:web1904Reducer,
    // remove:removeReducer,
    // edit:editReducer,
})

export default createStore(reducer,applyMiddleware(thunk));
